#ifndef LEARN_RULE_H
#define LEARN_RULE_H

#include <QWidget>
#include<QMediaPlayer>
#include<QVideoWidget>

class learn_rule : public QWidget
{
    Q_OBJECT
public:
    learn_rule(QWidget *parent = nullptr);
    QMediaPlayer * player;
    QVideoWidget * videowidget;
    void paintEvent(QPaintEvent *event);

signals:
    //自定义信号，实现返回
    void chooseSceneBack();

};

#endif // LEARN_RULE_H
